<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>WearOS 适用软件库</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
  
  <!-- 配置Tailwind自定义颜色和字体 -->
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            'win95-gray': '#C0C0C0',
            'win95-dark': '#808080',
            'win95-light': '#FFFFFF',
            'win95-blue': '#000080',
            'win95-highlight': '#0000FF',
            'win95-button': '#C0C0C0',
          },
          fontFamily: {
            'pixel': ['"MS Sans Serif"', 'Tahoma', 'sans-serif'],
          },
        },
      }
    }
  </script>
  
  <!-- 自定义工具类 -->
  <style type="text/tailwindcss">
    @layer utilities {
      .content-auto {
        content-visibility: auto;
      }
      .window-border {
        border-top: 2px solid #FFFFFF;
        border-left: 2px solid #FFFFFF;
        border-right: 2px solid #808080;
        border-bottom: 2px solid #808080;
      }
      .button-border {
        border-top: 2px solid #FFFFFF;
        border-left: 2px solid #FFFFFF;
        border-right: 2px solid #000000;
        border-bottom: 2px solid #000000;
      }
      .inner-border {
        border-top: 1px solid #808080;
        border-left: 1px solid #808080;
        border-right: 1px solid #C0C0C0;
        border-bottom: 1px solid #C0C0C0;
      }
      .title-bar {
        background: linear-gradient(90deg, #000080, #1084D0);
      }
      .button-hover {
        border-top: 2px solid #000000;
        border-left: 2px solid #000000;
        border-right: 2px solid #FFFFFF;
        border-bottom: 2px solid #FFFFFF;
      }
    }
  </style>
  
  <!-- 基础样式 -->
  <style>
    body {
      background-color: #008080;
      font-family: '"MS Sans Serif"', Tahoma, sans-serif;
      overflow: hidden; /* 防止页面整体滚动 */
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
      padding: 0;
    }
    
    /* 固定窗口尺寸 */
    .fixed-window {
      width: 90vw;
      height: 90vh;
      max-width: 400px;
      max-height: 600px;
      display: flex;
      flex-direction: column;
    }
    
    /* 窗口内容区域 - 使用flex布局 */
    .window-content {
      flex: 1;
      overflow-y: auto;
      padding: 2px;
    }
    
    /* 确保内容区域不超过窗口高度 */
    .window-content::-webkit-scrollbar {
      width: 16px;
    }
    
    /* 链接样式 */
    .link-item {
      transition: all 0.1s ease;
    }
    
    .link-item:active {
      background-color: #000080;
      color: white;
    }
    
    /* 模拟Windows 95按钮点击效果 */
    .btn:active {
      border-top: 2px solid #000000;
      border-left: 2px solid #000000;
      border-right: 2px solid #FFFFFF;
      border-bottom: 2px solid #FFFFFF;
      background-color: #C0C0C0;
    }
    
    /* 超小屏幕适配 */
    @media (max-width: 320px) {
      .link-item {
        padding: 8px 10px;
        font-size: 12px;
      }
      .window-title {
        font-size: 14px;
      }
    }
  </style>
</head>
<body>
  <!-- Windows 95风格窗口 -->
  <div class="window-border bg-win95-gray fixed-window overflow-hidden">
    <!-- 窗口标题栏 -->
    <div class="title-bar py-1 px-2 flex items-center">
      <i class="fa fa-folder text-white mr-2"></i>
      <span class="text-white font-bold window-title">WearOS 适用软件库</span>
      <div class="ml-auto flex space-x-1">
        <button class="button-border bg-win95-gray w-5 h-5 flex items-center justify-center text-xs font-bold px-1">
          <i class="fa fa-window-minimize"></i>
        </button>
        <button class="button-border bg-win95-gray w-5 h-5 flex items-center justify-center text-xs font-bold px-1">
          <i class="fa fa-square-o"></i>
        </button>
        <button class="button-border bg-win95-gray w-5 h-5 flex items-center justify-center text-xs font-bold px-1">
          <i class="fa fa-times"></i>
        </button>
      </div>
    </div>
    
    <!-- 窗口菜单 -->
    <div class="border-b border-win95-dark py-1 px-2 bg-win95-gray">
      <div class="flex space-x-4 text-sm">
        <span class="hover:text-win95-highlight cursor-pointer">文件</span>
        <span class="hover:text-win95-highlight cursor-pointer">编辑</span>
        <span class="hover:text-win95-highlight cursor-pointer">查看</span>
        <span class="hover:text-win95-highlight cursor-pointer">收藏夹</span>
        <span class="hover:text-win95-highlight cursor-pointer">帮助</span>
      </div>
    </div>
    
    <!-- 窗口内容 -->
    <div class="window-content">
      <!-- 系统信息区域 -->
      <div class="mb-3 p-2 bg-win95-light window-border">
        <div class="flex items-center mb-2">
          <i class="fa fa-info-circle text-win95-blue mr-2"></i>
          <span class="font-bold">WearOS 适用软件库</span>
        </div>
        <p class="text-xs">资源来源于网络，侵删</p>
      </div>
      
      <!-- 链接分类标题 -->
      <div class="mb-1 px-2 py-1 bg-win95-blue text-white text-sm font-bold">
        <i class="fa fa-th-large mr-1"></i>应用列表
      </div>
      
      <!-- 链接列表 -->
      <div class="space-y-1 mb-4">
        <a href="https://gitee.com/TenshoWang/WearOS/releases/download/APP/%E5%BA%94%E7%94%A8%E9%9A%90%E8%97%8F%E5%A4%A7%E5%B8%88.apk" class="link-item block button-border bg-win95-button p-2 text-left text-sm hover:bg-win95-highlight hover:text-white transition-all">
          <i class="fa fa-android"></i>  ★应用隐藏大师
        </a>        
		<a href="https://gitee.com/TenshoWang/WearOS/releases/download/APP/2048%E6%99%AE%E9%80%9A%E7%89%88.apk" class="link-item block button-border bg-win95-button p-2 text-left text-sm hover:bg-win95-highlight hover:text-white transition-all">
          <i class="fa fa-android"></i>  2048
        </a>
        <a href="https://gitee.com/TenshoWang/WearOS/releases/download/APP/%E8%85%95%E4%B8%8A%E6%89%AB%E9%9B%B7.apk" class="link-item block button-border bg-win95-button p-2 text-left text-sm hover:bg-win95-highlight hover:text-white transition-all">
          <i class="fa fa-android"></i>  扫雷
        </a>
        <a href="https://gitee.com/TenshoWang/WearOS/releases/download/APP/%E5%8D%95%E6%9C%BA%E6%96%97%E5%9C%B0%E4%B8%BB.apk" class="link-item block button-border bg-win95-button p-2 text-left text-sm hover:bg-win95-highlight hover:text-white transition-all">
          <i class="fa fa-android"></i>  斗地主
        </a>
        <a href="https://gitee.com/TenshoWang/WearOS/releases/download/APP/%E8%B1%A1%E6%A3%8B%E5%A4%A7%E5%B8%88.apk" class="link-item block button-border bg-win95-button p-2 text-left text-sm hover:bg-win95-highlight hover:text-white transition-all">
          <i class="fa fa-android"></i>  象棋
        </a>
        <a href="https://gitee.com/TenshoWang/WearOS/releases/download/APP/%E4%BC%91%E9%97%B2%E4%BA%94%E5%AD%90%E6%A3%8B.apk" class="link-item block button-border bg-win95-button p-2 text-left text-sm hover:bg-win95-highlight hover:text-white transition-all">
          <i class="fa fa-android"></i>  五子棋
        </a>
        <a href="#" class="link-item block button-border bg-win95-button p-2 text-left text-sm hover:bg-win95-highlight hover:text-white transition-all">
          <i class="fa fa-android"></i>  时钟表盘
        </a>

      </div>
   
      
      <!-- 底部操作按钮 -->
      <div class="flex justify-between mt-4">
      </div>
    </div>
    
    <!-- 窗口状态栏 -->
    <div class="border-t border-win95-dark py-1 px-2 bg-win95-gray text-xs flex justify-between">
      <span>© 2025 Designed by TenshoWang Studios.</span>
      <span><i class="fa fa-wifi"></i> 已连接</span>
    </div>
  </div>
  
  
  <!-- JavaScript -->
  <script>
    
    // 模拟按钮点击效果
    document.querySelectorAll('.btn').forEach(btn => {
      btn.addEventListener('mousedown', function() {
        this.classList.add('button-hover');
      });
      
      btn.addEventListener('mouseup', function() {
        this.classList.remove('button-hover');
      });
      
      btn.addEventListener('mouseleave', function() {
        this.classList.remove('button-hover');
      });
    });
    
    // 模拟链接点击效果
    document.querySelectorAll('.link-item').forEach(link => {
      link.addEventListener('mousedown', function() {
        this.style.backgroundColor = '#000080';
        this.style.color = 'white';
      });
      
      link.addEventListener('mouseup', function() {
        this.style.backgroundColor = '';
        this.style.color = '';
      });
      
      link.addEventListener('mouseleave', function() {
        this.style.backgroundColor = '';
        this.style.color = '';
      });
    });
  </script>
</body>
</html>
